-
Home
-
Mercado Pago payments for WooCommerce
-
8.4.2
-
Code
-
Classes
- CoreNotification
Total Complexity |
46 |
Dependencies |
7 |
Dependents |
1 |
Total lines |
340 |
Lines of code |
166 |
Logical lines of code |
98 |
Comment lines |
100 |
Methods |
16 |
Properties |
1 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
handleRefundNotification() |
S |
51 |
7 |
27 |
updatePaymentDetails() |
S |
51 |
6 |
23 |
isValidRefund() |
S |
56 |
6 |
18 |
isValidPaymentsDetailsStructure() |
S |
68 |
5 |
7 |
handleReceivedNotification() |
S |
55 |
3 |
20 |
handleSuccessfulRequest() |
S |
58 |
3 |
16 |
getProcessedStatus() |
S |
62 |
3 |
11 |
shouldProcessRefund() |
S |
71 |
3 |
5 |
getNotificationId() |
S |
69 |
2 |
7 |
isRefundNotification() |
S |
78 |
2 |
3 |
getInput() |
S |
80 |
1 |
3 |
validateNotificationId() |
S |
78 |
1 |
3 |
getSdkInstance() |
S |
68 |
1 |
7 |
logStatusChange() |
S |
65 |
1 |
10 |
sendRefundSuccessMetric() |
S |
79 |
1 |
3 |
sendRefundErrorMetric() |
S |
79 |
1 |
3 |